package com.mingmen.supplier.model;

import java.util.List;

public class TuiHuoModel {


    /**
     * code : 0
     * message : 操作成功
     * time : 2020-08-18 15:48:29
     * data : [{"supplierId":"670","picture":"","address":"","announcement":"","category":"","cooperation":"1","quantity":4,"businessHours":"","license":"","isNextDay":"","score":0,"salesAmount":0,"tel":"18846019555","commodious":[{"commodityId":"1294156930998616064","commodityName":"甜椒","spec":"1","picture":"/uploadimg/2020-08-14/20e726d9-750c-4397-9e91-c10e08601617.jpeg","price":2,"flag":"0"},{"commodityId":"1294156567444733952","commodityName":"水萝卜","spec":"1","picture":"/uploadimg/2020-08-14/b3a341ef-5b55-425a-a4a0-e069130a9e6f.jpeg","price":3,"flag":"0"},{"commodityId":"1294156344282595328","commodityName":"红心萝卜","spec":"1","picture":"/uploadimg/2020-08-14/a4694076-1c38-46ec-85e7-97c308245235.jpeg","price":3,"flag":"1"},{"commodityId":"1294155500845809664","commodityName":"豆角","spec":"1","picture":"/uploadimg/2020-08-14/2584c371-f469-4841-b524-069af3ccf4e8.jpeg","price":3,"flag":"0"},{"commodityId":"1294154559627214848","commodityName":"辣椒","spec":"1","picture":"/uploadimg/2020-08-14/0d29095d-639e-4d3c-bfe1-36dc8ed9af38.jpeg","price":1,"flag":"0"},{"commodityId":"1294154004846624768","commodityName":"茄子","spec":"1","picture":"/uploadimg/2020-08-14/e48c27aa-190f-443d-9a9f-37fc5305e637.jpeg","price":1,"flag":"0"},{"commodityId":"1294151708419047424","commodityName":"土豆","spec":"1","picture":"/uploadimg/2020-08-14/c221c251-d99c-42dd-8814-372577d0d3d7.jpeg","price":5,"flag":"1"},{"commodityId":"1294151413366538240","commodityName":"番茄","spec":"1","picture":"/uploadimg/2020-08-14/0c1a1680-c39a-4868-bd5c-d3d876c6825b.jpeg","price":5,"flag":"1"},{"commodityId":"1294151127608606720","commodityName":"菠菜","spec":"1","picture":"/uploadimg/2020-08-14/5f3c0f70-ccf1-4ad7-ac9b-55f1803e81f3.jpeg","price":5,"flag":"1"}],"supplierName":"益农菜业","isShipped":""}]
     */

    private int code;
    private String message;
    private String time;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * supplierId : 670
         * picture :
         * address :
         * announcement :
         * category :
         * cooperation : 1
         * quantity : 4
         * businessHours :
         * license :
         * isNextDay :
         * score : 0
         * salesAmount : 0
         * tel : 18846019555
         * commodious : [{"commodityId":"1294156930998616064","commodityName":"甜椒","spec":"1","picture":"/uploadimg/2020-08-14/20e726d9-750c-4397-9e91-c10e08601617.jpeg","price":2,"flag":"0"},{"commodityId":"1294156567444733952","commodityName":"水萝卜","spec":"1","picture":"/uploadimg/2020-08-14/b3a341ef-5b55-425a-a4a0-e069130a9e6f.jpeg","price":3,"flag":"0"},{"commodityId":"1294156344282595328","commodityName":"红心萝卜","spec":"1","picture":"/uploadimg/2020-08-14/a4694076-1c38-46ec-85e7-97c308245235.jpeg","price":3,"flag":"1"},{"commodityId":"1294155500845809664","commodityName":"豆角","spec":"1","picture":"/uploadimg/2020-08-14/2584c371-f469-4841-b524-069af3ccf4e8.jpeg","price":3,"flag":"0"},{"commodityId":"1294154559627214848","commodityName":"辣椒","spec":"1","picture":"/uploadimg/2020-08-14/0d29095d-639e-4d3c-bfe1-36dc8ed9af38.jpeg","price":1,"flag":"0"},{"commodityId":"1294154004846624768","commodityName":"茄子","spec":"1","picture":"/uploadimg/2020-08-14/e48c27aa-190f-443d-9a9f-37fc5305e637.jpeg","price":1,"flag":"0"},{"commodityId":"1294151708419047424","commodityName":"土豆","spec":"1","picture":"/uploadimg/2020-08-14/c221c251-d99c-42dd-8814-372577d0d3d7.jpeg","price":5,"flag":"1"},{"commodityId":"1294151413366538240","commodityName":"番茄","spec":"1","picture":"/uploadimg/2020-08-14/0c1a1680-c39a-4868-bd5c-d3d876c6825b.jpeg","price":5,"flag":"1"},{"commodityId":"1294151127608606720","commodityName":"菠菜","spec":"1","picture":"/uploadimg/2020-08-14/5f3c0f70-ccf1-4ad7-ac9b-55f1803e81f3.jpeg","price":5,"flag":"1"}]
         * supplierName : 益农菜业
         * isShipped :
         */

        private String supplierId;
        private String picture;
        private String address;
        private String announcement;
        private String category;
        private String cooperation;
        private int quantity;
        private String businessHours;
        private String license;
        private String isNextDay;
        private int score;
        private int salesAmount;
        private String tel;
        private String supplierName;
        private String isShipped;
        private List<CommodiousBean> commodious;
        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }

        boolean isSelect;
        public String getSupplierId() {
            return supplierId;
        }

        public void setSupplierId(String supplierId) {
            this.supplierId = supplierId;
        }

        public String getPicture() {
            return picture;
        }

        public void setPicture(String picture) {
            this.picture = picture;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAnnouncement() {
            return announcement;
        }

        public void setAnnouncement(String announcement) {
            this.announcement = announcement;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getCooperation() {
            return cooperation;
        }

        public void setCooperation(String cooperation) {
            this.cooperation = cooperation;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public String getBusinessHours() {
            return businessHours;
        }

        public void setBusinessHours(String businessHours) {
            this.businessHours = businessHours;
        }

        public String getLicense() {
            return license;
        }

        public void setLicense(String license) {
            this.license = license;
        }

        public String getIsNextDay() {
            return isNextDay;
        }

        public void setIsNextDay(String isNextDay) {
            this.isNextDay = isNextDay;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public int getSalesAmount() {
            return salesAmount;
        }

        public void setSalesAmount(int salesAmount) {
            this.salesAmount = salesAmount;
        }

        public String getTel() {
            return tel;
        }

        public void setTel(String tel) {
            this.tel = tel;
        }

        public String getSupplierName() {
            return supplierName;
        }

        public void setSupplierName(String supplierName) {
            this.supplierName = supplierName;
        }

        public String getIsShipped() {
            return isShipped;
        }

        public void setIsShipped(String isShipped) {
            this.isShipped = isShipped;
        }

        public List<CommodiousBean> getCommodious() {
            return commodious;
        }

        public void setCommodious(List<CommodiousBean> commodious) {
            this.commodious = commodious;
        }

        public static class CommodiousBean {
            /**
             * commodityId : 1294156930998616064
             * commodityName : 甜椒
             * spec : 1
             * picture : /uploadimg/2020-08-14/20e726d9-750c-4397-9e91-c10e08601617.jpeg
             * price : 2.0
             * flag : 0
             */

            private String commodityId;
            private String commodityName;
            private String spec;
            private String picture;
            private double price;
            private String flag;

            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean select) {
                isSelect = select;
            }

            boolean isSelect;

            public String getCommodityId() {
                return commodityId;
            }

            public void setCommodityId(String commodityId) {
                this.commodityId = commodityId;
            }

            public String getCommodityName() {
                return commodityName;
            }

            public void setCommodityName(String commodityName) {
                this.commodityName = commodityName;
            }

            public String getSpec() {
                return spec;
            }

            public void setSpec(String spec) {
                this.spec = spec;
            }

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public String getFlag() {
                return flag;
            }

            public void setFlag(String flag) {
                this.flag = flag;
            }
        }
    }
}
